﻿using System;

namespace 飞机小鸟超人
{
    class Speak : IFlyable, Animal, Vehicle,LayEggs
    {
        string Name;
        public Speak(string name) {
            this.Name = name;
        }
        public void SayHi() { Console.WriteLine("你好，我是"+Name); }
        public void TakeOff() { Console.WriteLine("芜湖，我起飞了！"); }
        public void Fly() { Console.WriteLine("我会飞！"); }
        public void Land() { Console.WriteLine("我会走！"); }
        public void Eat() { Console.WriteLine("我会吃"); }
        public void CarryPassage() { Console.WriteLine("我能带旅客！"); }
        public void LayEggs() { Console.WriteLine("我会下蛋，另外两位都不会！"); }
    }
}
